home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 5 / Apprentice-Release5.iso / Demos / Evatac Software / Preditor 3.0 / Tools / MPW & ToolServer / Copy to ToolServer Folder / PreditorStartup < prev    next >
Text File  |  1995-08-24  |  2KB  |  54 lines

  1. #
  2. #    PreditorStartup
  3. #   ToolServer script for Preditor 3
  4. #
  5. #   © Copyright Evatac Software  1988-1994
  6. #   All rights reserved
  7. #
  8. #    This script is invoked by Preditor when it establishes the ToolServer
  9. #    connection. It should reside in the same folder as ToolServer.
  10. #
  11.  
  12. #    The commands in this section MUST NOT BE ALTERED, or the link between
  13. #    Preditor and ToolServer will not function correctly.
  14.  
  15. Export PreditorNBPObj
  16. Export PreditorNBPType
  17. Export PreditorNBPZone
  18. Export PreditorPPCPortName
  19. Export PreditorPPCClientName
  20. Export PreditorIsRemote
  21. Export PreditorExists
  22.  
  23. unalias File
  24.  
  25. if `Exists "{MPW}"Scripts:Preditor•File` == ""
  26.     echo '### The "File" command may not work properly, because the'
  27.     echo '### "Preditor•File" script is missing from your Scripts folder.'
  28.     echo
  29.     echo '### Also make sure that you have installed the custom "Preditor•Line"'
  30.     echo '### script in your Scripts folder.'
  31.     
  32.     alias File Target
  33. else
  34.     alias File '"{MPW}"Scripts:Preditor•File'
  35.     alias Line '"{MPW}"Scripts:Preditor•Line'
  36. end
  37.  
  38. if `Exists "{MPW}"Tools:RPreditor` == ""
  39.     echo
  40.     echo '### The "RPreditor" tool is missing from your Tools folder.'
  41.     echo '### Until you install it, the File and Line commands will'
  42.     echo '### not work.'
  43.     echo
  44.     echo '### Also make sure that you install the custom Preditor•File and Preditor•Line'
  45.     echo '### scripts in your Scripts folder'
  46. end
  47.  
  48. For __Startup__i in `(Files "{ShellDirectory}"PreditorStartup•≈ || Set Status 0) ≥ dev:null`
  49.     Execute "{__Startup__i}"
  50. End
  51. Unset __Startup__i
  52.  
  53. #############################################################################
  54.